/*
 *    Copyright (c) 2020-2025, sunlei All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Author: sunlei (daizile@126.com)
 */
/*
{
    page:{
        current:1, //当前页数
        size:10   //每页长度
    },
    cond:{ //条件
        eq:{ // 多条件对象
                        id,//Integer 
                        name,//String 赛程名称
                        isDel,//Integer 0:正常1:删除
                    }
    }
}
 */
// 分页查询
function ScheduleTypePageList(query,SuccessFunc,FailedFunc) {
    slAjax("/abkj-api-match-provider/scheduletype/pagequery","post",query,SuccessFunc,FailedFunc);
}
// 列表查询
function ScheduleTypequeryList(query,SuccessFunc,FailedFunc) {
    slAjax("/abkj-api-match-provider/scheduletype/queryList","post",query,SuccessFunc,FailedFunc);
}
// 插入数据
function ScheduleTypeaddObj(obj,SuccessFunc,FailedFunc) {
    slAjax("/abkj-api-match-provider/scheduletype/save", "post", obj,SuccessFunc,FailedFunc)
}
// 主键获取数据
function ScheduleTypegetObj(id,SuccessFunc,FailedFunc){
    slAjax("/abkj-api-match-provider/scheduletype/"+id,"get",{},SuccessFunc,FailedFunc);
}

/**
 * 主键更新
 */
function ScheduleTypeupdateById(query,SuccessFunc,FailedFunc) {
   slAjax("/abkj-api-match-provider/scheduletype/updateById","post",query,SuccessFunc,FailedFunc);
}
/**
 * 多条件 更新
 */
function ScheduleTypeupdateByMulCond(query,SuccessFunc,FailedFunc) {
   slAjax("/abkj-api-match-provider/scheduletype/updateByMulCond","post",query,SuccessFunc,FailedFunc);
}
// 主键删除数据
function ScheduleTypedelObj(id,SuccessFunc,FailedFunc) {
  slAjax("/abkj-api-match-provider/scheduletype/delete/"+id,"get",{},SuccessFunc,FailedFunc);
}

